package com.woniuxy.java106crm.service;

import com.woniuxy.java106crm.entity.Leads;
import com.woniuxy.java106crm.request.ResPage;
import com.woniuxy.java106crm.vo.marketing.LeadsPageSizeVo;
import com.woniuxy.java106crm.vo.marketing.LeadsStateVo;
import com.woniuxy.java106crm.vo.marketing.LeadsVo;

import java.util.List;

public interface MarketingService {
    ResPage<List<Leads>> findAll(LeadsPageSizeVo leadsPageSizeVo);

    boolean addLeads(Leads leads);

    boolean updateLeads(Leads leads);

    boolean delLeadsById(int id);

    Leads findLeadsById(int id);

    boolean updateAppointor(LeadsVo leadsVo);

    String selectByAppointTime(int id);

    boolean updateStatById(LeadsStateVo leadsStateVo);

    int haveRole(int uid);
}
